export const mobileRules = [
  { required: true, message: '不能为空' },
  { pattern: /^1[3-9]\d{9}$/, message: '手机号格式不正确' }
]

export const passwordRules = [
  { required: true, message: '不能为空' },
  { pattern: /^\w{8,24}$/, message: '密码号格式不正确' }
]

export const codeRules = [
  { required: true, message: '不能为空' },
  { pattern: /^\w{6}$/, message: '请输入6位验证码' }
]
